﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using DapperExtensions.Mapper;
namespace LS.Entitys
{
    /// <summary>
    /// 文件存储表
    /// </summary>
    [Table("sys_file")]
    public class SysFileEntity:EntityBaseDateDel
    {
      
        /// <summary>
        /// 业务类型
        /// <summary>
        public string Bizetype { get; set; }
        /// <summary>
        /// 关联业务ID
        /// <summary>
        public string Bizeid { get; set; }
        /// <summary>
        /// 文件原始名称
        /// <summary>
        public string Foname { get; set; }
        /// <summary>
        /// 文件系统名称
        /// <summary>
        public string Fnewname { get; set; }
        /// <summary>
        /// 文件类型
        /// <summary>
        public string Ftype { get; set; }
        /// <summary>
        /// 文件大小(kb)
        /// <summary>
        public string Fsize { get; set; }
        /// <summary>
        /// 文件路径
        /// <summary>
        public string Fpath { get; set; }
        
    }
    public class SysFileEntityMapper : ClassMapper<SysFileEntity>
    {
        public SysFileEntityMapper()
        {
            Table("sys_file");
            AutoMap();
        }
    }

}
